package tech.aistar.day11.homework;

/**
 * 本类用来演示: 对象就是数据在内存中的载体 - 对象就是容器
 *
 * @author: success
 * @date: 2021/3/23 8:58 上午
 */
public class PurcaseVo {
    private String brand;

    private Double total;

    public PurcaseVo() {
    }

    public PurcaseVo(String brand, Double total) {
        this.brand = brand;
        this.total = total;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PurcaseVo{");
        sb.append("brand='").append(brand).append('\'');
        sb.append(", total=").append(total);
        sb.append('}');
        return sb.toString();
    }
}
